package org.jeecg.modules.imm.api;

import io.swagger.annotations.Api;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.imm.api.factory.ImmBaseCloudApiFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.util.MultiValueMap;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "jeecg-imm", fallbackFactory = ImmBaseCloudApiFallbackFactory.class)
@Api(tags = "报文微服务接口")
public interface ImmBaseCloudApi {

    /***/
    @PostMapping(value = "/InvMessage/finaApplySend")
    public Result<?> finaApplySend(@RequestParam String url,@RequestParam MultiValueMap<String, Object> params);
}
